﻿
function valaxyCircle(config) {
    this.config = config;
    this._init();
}

valaxyCircle.prototype._init = function () {
    var me = this;
    var handle = setInterval(me.config.execute, me.config.timeout);
    me.handle = handle;
}


valaxyCircle.prototype.stop = function () {
    var me = this;
    clearInterval(me.handle);
}